﻿@using Journey.DTO.Users;

@model UserDTO

@{
    ViewBag.Title = "用户注册";
}

@using (Html.BeginForm("Register", "User", FormMethod.Post))
{
    <table>
        <tr>
            <td>账号：</td>
            <td>@Html.TextBoxFor(model => model.AccountNumber)</td>
        </tr>
        <tr>
            <td>密码：</td>
            <td>@Html.PasswordFor(model => model.Password)</td>
        </tr>
        <tr>
            <td>昵称：</td>
            <td>@Html.TextBoxFor(model => model.Name)</td>
        </tr>
        <tr>
            <td>邮箱：</td>
            <td>@Html.TextBoxFor(model => model.Email)</td>
        </tr>
    </table>

    <input type="submit" value="提交" />
}